require("mason").setup({
    ui = {
        icons = {
            package_installed = "✓",
            package_pending = "➜",
            package_uninstalled = "✗"
        }
    }
})

require("mason-lspconfig").setup({
    -- 确保安装，根据需要填写
    ensure_installed = {
        "lua_ls",
        "yamlls",
        "cssls",
        "html",
        "jsonls",
        "lua_ls",
        "pylsp",
        "rust_analyzer",
        "taplo",
        "ts_ls",
        "vuels",
        "vimls",
        "volar",
        "nginx_language_server"
    },
})

local capabilities = require('cmp_nvim_lsp').default_capabilities()

require("lspconfig").lua_ls.setup {
  capabilities = capabilities,
}

require'lspconfig'.yamlls.setup{}
require'lspconfig'.cssls.setup{}
require'lspconfig'.html.setup{}
require'lspconfig'.jsonls.setup{}
require'lspconfig'.pylsp.setup{}
require'lspconfig'.rust_analyzer.setup{}
require'lspconfig'.taplo.setup{}
require'lspconfig'.ts_ls.setup{}
require'lspconfig'.vuels.setup{}
require'lspconfig'.vimls.setup{}
require'lspconfig'.volar.setup{}
require'lspconfig'.nginx_language_server.setup{}
